package com.woniu.liuzhougov.businessproject.service.impl;

import com.woniu.liuzhougov.businessproject.dao.CountyMapper;
import com.woniu.liuzhougov.businessproject.pojo.County;
import com.woniu.liuzhougov.businessproject.service.CountyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: desc
 * @author: Chris
 * @createDate: 2019/4/22 0022
 * @version: 1.0
 */
@Service
public class CountyServiceImpl implements CountyService {

    @Autowired
    private CountyMapper countyMapper;

    @Override
    public List<County> getCountyByAreaId(String areaId) {
        return countyMapper.selectByAreaId(areaId);
    }
}
